package edu.olin.scheduler.loader;

import java.io.InputStream;
import java.net.URL;

public class ResourceLoader {
    
    public static URL getResourceURL(String resource){
        try{
            return System.class.getResource(resource);
            }catch(Exception e){ return null; }
        }
    
    public static InputStream getResourceStream(String resource){
        try{
            return System.class.getResourceAsStream(resource);
            }catch(Exception e){ return null; }
        }

    }
